<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['goods_store']=array ( 
  'columns' =>
  array (
    'id' =>
    array (
      'type' => 'int(10)',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'editable' => false,
      'comment' => app::get('b2c')->_('ID'),
    ),
    'store_id' =>
    array (
      'type' => 'table:members',
      'default' => 0,
      'required' => true,
      'editable' => false,
      'comment' => app::get('b2c')->_('店铺ID'),
    ),
    'goods_id' =>
    array (
      'type' => 'table:members',
      'default' => 0,
      'required' => true,
      'editable' => false,
      'comment' => app::get('b2c')->_('商品ID'),
    ),
    'buy_num' =>
    array (
      'type' => 'number',
      'label' => app::get('b2c')->_('起购数量'),
      'width' => 110,
      'editable' => false,
      'in_list' => true,
    ),
    
    
    'remark' => array (
        'label' => app::get ( 'b2c' )->_ ( '备注' ),
        'type' => 'text',
        'default' => '',
        'width' => 205,
        'in_list' => true 
      ),
    
    'time' =>
    array (
      'type' => 'time',
      'depend_col' => 'marketable:true:now',
      'label' => app::get('b2c')->_('产生时间'),
      'width' => 110,
      'editable' => false,
      'in_list' => true,
    ),
    
    
   
  
  ),
  'engine' => 'innodb',
  'version' => '$Rev: 123211231 $',
  'comment' => app::get('b2c')->_('店铺商品表'),
);
